package com.gljx.web.dao;

import java.util.List;

import com.gljx.web.Entity.Department;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface DepartmentMapper {
    int insert(Department record);

    int insertSelective(Department record);

    List<Department> selectAdminByController(String comppanyId);

    Department selectAdminByFid(String fid);

    List<Department> selectAdmin(@Param("name") String name);

    List<Department> selectAdminAsfcontid(@Param("name") String name, @Param("fcontrolunitid") String fcontrolunitid);
}